/****************************************************************************
** Meta object code from reading C++ file 'mtelemetry.h'
**
** Created: Thu Dec 20 17:17:18 2007
**      by: The Qt Meta Object Compiler version 59 (Qt 4.3.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../include/mtelemetry.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mtelemetry.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.3.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

static const uint qt_meta_data_TM__MDataReader[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
      17,   16,   16,   16, 0x05,

 // slots: signature, parameters, type, tag, flags
      55,   16,   43,   16, 0x0a,
      64,   16,   16,   16, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_TM__MDataReader[] = {
    "TM::MDataReader\0\0propagateData(MDataBlock)\0"
    "MDataBlock*\0readTM()\0readAndAppendTM()\0"
};

const QMetaObject TM::MDataReader::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_TM__MDataReader,
      qt_meta_data_TM__MDataReader, 0 }
};

const QMetaObject *TM::MDataReader::metaObject() const
{
    return &staticMetaObject;
}

void *TM::MDataReader::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_TM__MDataReader))
	return static_cast<void*>(const_cast< MDataReader*>(this));
    return QThread::qt_metacast(_clname);
}

int TM::MDataReader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: propagateData((*reinterpret_cast< MDataBlock(*)>(_a[1]))); break;
        case 1: { MDataBlock* _r = readTM();
            if (_a[0]) *reinterpret_cast< MDataBlock**>(_a[0]) = _r; }  break;
        case 2: readAndAppendTM(); break;
        }
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void TM::MDataReader::propagateData(MDataBlock _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
static const uint qt_meta_data_TM__MTelemetry[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
      16,   15,   15,   15, 0x05,
      32,   15,   15,   15, 0x05,

 // slots: signature, parameters, type, tag, flags
      54,   51,   15,   15, 0x0a,
      65,   15,   15,   15, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_TM__MTelemetry[] = {
    "TM::MTelemetry\0\0sig_connected()\0"
    "sig_disconnected()\0on\0stop(bool)\0"
    "processData()\0"
};

const QMetaObject TM::MTelemetry::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_TM__MTelemetry,
      qt_meta_data_TM__MTelemetry, 0 }
};

const QMetaObject *TM::MTelemetry::metaObject() const
{
    return &staticMetaObject;
}

void *TM::MTelemetry::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_TM__MTelemetry))
	return static_cast<void*>(const_cast< MTelemetry*>(this));
    return QThread::qt_metacast(_clname);
}

int TM::MTelemetry::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: sig_connected(); break;
        case 1: sig_disconnected(); break;
        case 2: stop((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: processData(); break;
        }
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void TM::MTelemetry::sig_connected()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void TM::MTelemetry::sig_disconnected()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}
